<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeftMenu.aspx.cs" Inherits="Webadmin_LeftMenu" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>.: Welcome to Admin Console :.</title>
    <link href="CSS/XPMenu.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="navbar">
<%foreach (DataRow dr in dtGroup.Rows)
  {
      
      DataTable dt = this.getAdminFunction(dr["GroupName"].ToString(),Session["AdminUser"].ToString());
      if (dt.Rows.Count > 0)
      {
      %>
<!-- *********************************Start Menu****************************** -->
<div class="mainDiv" >
    <div class="topItem" style="font-size:10px; padding-top:5px; color:#000"><%=this.adminLang[dr["GroupName"].ToString()].ToString()%></div> 
    <div class="dropMenu" >
        <div class="subMenu" style="display:inline;">
        <%foreach (DataRow drSub in dt.Rows)
          { %>
	        <div class="subItem"><a href="<%=drSub["URL"].ToString() %>" target="main"><img src="Images/Skin/menu_row.gif" width="5" height="9" style="border:0" /> <%=this.adminLang[drSub["FunctionName"].ToString()].ToString() %></a></div>  
	    <% }%>          
        </div>
    </div>
</div>
<!-- *********************************End Menu****************************** -->
    
    <%}
} %>
</div>
<script language="javascript" type="text/javascript" src="JS/XPMenu_21.js"></</script>   
</body>
</html>

